package com.tw.modules.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author maxiaodong
 * @since 2018-04-05
 */
@TableName("tw_notebook")
public class Notebook extends Model<Notebook> {

    private static final long serialVersionUID = 1L;

    @TableId("n_id")
	private Integer nId;
	@TableField("n_content")
	private String nContent;
	@TableField("n_datetime")
	private String nDatetime;
	@TableField("n_phone")
	private Long nPhone;


	public Integer getnId() {
		return nId;
	}

	public void setnId(Integer nId) {
		this.nId = nId;
	}

	public String getnContent() {
		return nContent;
	}

	public void setnContent(String nContent) {
		this.nContent = nContent;
	}

	public String getnDatetime() {
		return nDatetime;
	}

	public void setnDatetime(String nDatetime) {
		this.nDatetime = nDatetime;
	}

	public Long getnPhone() {
		return nPhone;
	}

	public void setnPhone(Long nPhone) {
		this.nPhone = nPhone;
	}

	@Override
	protected Serializable pkVal() {
		return this.nId;
	}

	@Override
	public String toString() {
		return "Notebook{" +
			", nId=" + nId +
			", nContent=" + nContent +
			", nDatetime=" + nDatetime +
			", nPhone=" + nPhone +
			"}";
	}
}
